#ifndef _SCAMPERHANDLER_H
#define _SCAMPERHANDLER_H

#include <fstream>
#include <iostream>
#include <string>
#include <cstring>

/** Scamper lib include **/
extern "C" 
{
#include <scamper_file.h>
#include <scamper_addr.h>
#include <scamper_tracelb.h>
}

#include "Router.h"


/**
 * This function will create the source for Scamper.
 * All the interface discover will by in this file to be check by Scamper
 * 
 * @param file_name the name of the file to write
 * @result bool true if the operation finish with succes, otherwise false
 */
bool write_scamper_file ( const std::string& file_name );

int read_scamper_warts ( const std::string& file_name );

#endif
